package com.wanma.recuit;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication //自动扫描SpringBootApplication所在的根文件夹下的所有包和子包z
@MapperScan("com.wanma.recuit.mapper")//配置mabaties 的mapper接口所在位置的自动扫描
@ServletComponentScan //过滤器 监听器 Servlet都可以使用
public class RecuitApplication {

    public static void main(String[] args) {
        SpringApplication.run(RecuitApplication.class, args);
    }

}
